package com.ChengXiZi.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * 私信表
 *
 * @author ChengX
 * @since 2025-04-21 10:27:12
 */
@Data
@Builder
@Accessors(chain = true)
@ApiModel(value = "privateMessages对象", description = "私信表")
public class PrivateMessages {

    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("发送者id")
    private Long senderId;

    @ApiModelProperty("接收者id")
    private Long receiverId;

    @ApiModelProperty("信息内容")
    private String content;

    @ApiModelProperty("状态")
    private Integer status;

    @ApiModelProperty("发送时间")
    private LocalDateTime sendTime;
}
